{include file="header.html"}
<div id="page-goods-index"> {include file="curlocal.html"} 
  {include file="goodsinfo.html"}
  <div class="w-shop clearfix">
    <div class="col-sub w210"> {include file="left.html"} </div>
    <div style="overflow:hidden;" class="col-main float-right w980"> {include file="goods.meal.html"}
      <div class="attr-tabs">
        <ul class="user-menu">
          <li class="active"> <a style="border-left:1px solid #ddd;" href="{url route='goods/index' id=$goods.goods_id}"> <span> {$lang.goods_detail} </span> </a> </li>
          <li> <a href="{url route='goods/comment' id=$goods.goods_id}"> <span> {$lang.goods_comment}({$goods.comments|default:0}) </span> </a> </li>
          <li> <a href="{url route='goods/salelog' id=$goods.goods_id}"> <span> {$lang.sales_log}({$goods.sales|default:0}) </span> </a> </li>
          <li> <a href="{url route='goods/qa' id=$goods.goods_id}"> <span> {$lang.qa} </span> </a> </li>
        </ul>
      </div>
      <!--{if $goods.props}-->
      <div class="mb20 clearfix" style="padding:5px 0px;"> 
        <!--{foreach from=$goods.props item=prop}-->
        <div style="float:left;width:20%; padding:0 20px; height:25px; line-height:25px;color:#666; white-space:nowrap; overflow:hidden"> <span title="{$prop.value|escape}">{$prop.name}{$lang.colon}{$prop.value|escape|truncate:18}</span> </div>
        <!--{/foreach}--> 
      </div>
      <!--{/if}-->
      <div class="option_box">
        <div class="detail-info clearfix"> {$goods.description|escape:editor} </div>
      </div>
      {include file="comments.html"} </div>
  </div>
</div>
{include file="footer.html"}